package com.pic.mgt.haishin.executer;

import java.util.Date;

import com.pic.mgt.manager.terminal.BasicTerminalInfoBean;
import com.pic.mgt.utils.DateConvertUtils;

public final class FixedExecutionTimeAsgmtFileProcess extends AsgmtFileProcess {
	
	// 每次做建立確認檔時,初始化方法都會先被呼叫一次
	@Override
	void initial()  throws AsgmtFileProcessInitialException {
		
		
	}
	
	@Override
	String getSpecificExecutionTimeContentInAsgmtFile(Date initialExecutionTime, BasicTerminalInfoBean basicTerminalInfoBean) {
		// 皆回傳固定的執行時間
		// <<2011/10/20 指示檔內容時間格式變更 by Timothy>>
		String dateString = DateConvertUtils.
				dateToyyyyMMddHHmmString(initialExecutionTime);
		return dateString;
	}

}
